package com.sx.zongzhi.bean;

import java.io.Serializable;

/**用户权限
 * Created by admin on 2017/12/19.
 */

public class UserPermission implements Serializable{
    //房屋操作权限
    private boolean addActualHouse;//新增权限(true:有,false:无)
    private boolean deleteActualHouse; //删除权限(true:有,false:无)
    private boolean updateActualHouse; //修改权限(true:有,false:无)
    public boolean isAddActualHouse() {
        return addActualHouse;
    }
    //出租房
    private boolean addRentalHouse;//新增权限(true:有,false:无)
    private boolean deleteRentalHouse; //删除权限(true:有,false:无)
    private boolean updateRentalHouse; //修改权限(true:有,false:无)

    public boolean isAddRentalHouse() {
        return addRentalHouse;
    }
    public boolean isDeleteRentalHouse() {
        return deleteRentalHouse;
    }
    public boolean isUpdateRentalHouse() {
        return updateRentalHouse;
    }

    public boolean isDeleteActualHouse() {
        return deleteActualHouse;
    }
    public boolean isUpdateActualHouse() {
        return updateActualHouse;
    }
    //工作日志操作权限（不用筛选至网格级）
    private boolean addWorkDiary;
    private boolean deleteSingleWorkDiary;
    private boolean updateWorkDiary;
    public boolean isAddWorkDiary() {
        return addWorkDiary;
    }
    public boolean isDeleteSingleWorkDiary() {
        return deleteSingleWorkDiary;
    }
    public boolean isUpdateWorkDiary() {
        return updateWorkDiary;
    }
    //新社会操作权限
    private boolean addNewSocietyOrganizations;
    private boolean deleteNewSocietyOrganizations;
    private boolean updateNewSocietyOrganizations;
    public boolean isAddNewSocietyOrganizations() {
        return addNewSocietyOrganizations;
    }
    public boolean isDeleteNewSocietyOrganizations() {
        return deleteNewSocietyOrganizations;
    }
    public boolean isUpdateNewSocietyOrganizations() {
        return updateNewSocietyOrganizations;
    }
    //非公有制经济操作权限
    private boolean addNewEconomicOrganizations;
    private boolean deleteNewEconomicOrganizations;
    private boolean updateNewEconomicOrganizations;
    public boolean isAddNewEconomicOrganizations() {
        return addNewEconomicOrganizations;
    }
    public boolean isDeleteNewEconomicOrganizations() {
        return deleteNewEconomicOrganizations;
    }
    public boolean isUpdateNewEconomicOrganizations() {
        return updateNewEconomicOrganizations;
    }

}
